Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase retry initial backoff to 1 minute #2418

Merged
merged 3 commits into from
Jan 8, 2025
Merged

Conversation

iskakaushik
Copy link
Contributor

Retrying in 1 sec very rarely changes things as we typically tend to wait for database auto-scaling, network issue resolution or other error types wherre we would anyways need to wait in the order of minuted.

It was also causing alert spamming in the systems basically making them not usable for a certain kind of errors.

Retrying in 1 sec very rarely changes things as we typically
tend to wait for database auto-scaling, network issue resolution
or other error types wherre we would anyways need to wait in the order
of minuted.

It was also causing alert spamming in the systems basically making them
not usable for a certain kind of errors.
@@ -82,6 +86,9 @@ func DropFlowWorkflow(ctx workflow.Context, input *protos.DropFlowInput) error {
dropStatsCtx := workflow.WithActivityOptions(ctx, workflow.ActivityOptions{
StartToCloseTimeout: 1 * time.Minute,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should increase this and other places where StartToCloseTimeout is 1 minute and initial interval is also 1 minute

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@iskakaushik iskakaushik merged commit d2263f5 into main Jan 8, 2025
9 checks passed
@iskakaushik iskakaushik deleted the increase-retry-interval branch January 8, 2025 14:37
serprex added a commit that referenced this pull request Jan 9, 2025
@serprex serprex mentioned this pull request Jan 9, 2025
serprex added a commit that referenced this pull request Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants